const arr = [1.3,4,6,2,4,7,5,8]
  
    const b = [...new Set(arr)]
    console.log(b)